<div id="respond_box">
  <div id="comment-title"><span>{if $user.ID>0}{$user.Name#}{/if} 发表评论</span></div>
  <div id="respond">
    <div class="cancel-comment-reply"> <small> <a rel="nofollow" id="cancel-reply" href="#respond" style="display:none;">点击这里取消回复。</a> </small> </div>
    <form action="{$article.CommentPostUrl}" method="post" id="commentform">
    <input type="hidden" name="inpId" id="inpId" value="{$article.ID}" />
    <input type="hidden" name="inpRevID" id="inpRevID" value="0" />
      <div id="comment-author-info">
        {if $user.ID>0}
        <input type="hidden" name="inpName" id="inpName" value="{$user.Name}" />
        <input type="hidden" name="inpEmail" id="inpEmail" value="{$user.Email}" />
        <input type="hidden" name="inpHomePage" id="inpHomePage" value="{$user.HomePage}" />
        {else}
        <p>
          <input type="text" name="inpName" id="inpName" class="commenttext" value="{$user.Name}" size="22" tabindex="1" />
          <label for="author">昵称 </label>
        </p>
        <p>
          <input type="text" name="inpEmail" id="inpEmail" class="commenttext" value="{$user.Email}" size="22" tabindex="2" />
          <label for="email">邮箱 </label>
        </p>
        <p>
          <input type="text" name="inpHomePage" id="inpHomePage" class="commenttext" value="" size="{$user.HomePage}" tabindex="3" />
          <label for="url">网址</label>
        </p>
        {if $option['ZC_COMMENT_VERIFY_ENABLE']}
        <p>
          <input type="text" name="inpVerify" id="inpVerify" class="commenttext" value="" size="{$user.HomePage}" tabindex="3" />
          <label for="inpVerify"><img src="{$article.ValidCodeUrl}" class="verifyimg" onclick="javascript:this.src='{$article.ValidCodeUrl}&amp;tm='+Math.random();" /></label>
        </p>
        {/if}
        {/if} 
      </div>
      <div class="clear"></div>
      <p>
        <textarea name="txaArticle" id="txaArticle" tabindex="4" cols="50" rows="5"></textarea>
      </p>
      <p>
        <input class="btn submit" name="submit" type="submit" id="submit" tabindex="5" value="提交" onclick="return VerifyMessage()" />
        ◎欢迎参与讨论，请在这里发表您的看法、交流您的观点。
      </p>
    </form>
  </div>
</div>
